package com.allwees.bs.module.oms.constant;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * 收支类型
 *
 * @author yangylsky
 * @since 2019-12-12
 *
 */
public enum EFmsBalanceType implements IEnum<Integer> {
	INCOME(1, "收入"),

	OUTGO(2, "支出");

	private int type;

	private String desc;

	EFmsBalanceType(int type, String desc) {
		this.type = type;
		this.desc = desc;
	}

	public int type() {
		return type;
	}

	public String desc() {
		return desc;
	}

	@Override
	public Integer getValue() {
		return type;
	}
}
